<template>
  <router-view></router-view>

  <div class="footer">
    <div class="footer-seat">
      <div class="footer-list">
        <ul>
          <li v-for="(v) in footerlist" :key="v.path">
            <router-link :to="v.path">
              <img :src="v.img" style="width: 40px; height: 40px;" mode="">
              <a>{{ v.title }}</a>
              <!-- <span>{{ v.title }}</span> -->
            </router-link>
          </li>
        </ul>
        <!-- <div class="box"> -->
        <!-- <div class="boxx" >
            <img  src="../assets/猫头.png" style="width: 21px; height: 21px;" alt="" >
            <img  src="../assets/爪印.png" style="width: 21px; height: 21px;" alt="" >
            <img  src="../assets/猫头.png" style="width: 21px; height: 21px;" alt="" >
            <img  src="../assets/猫头.png" style="width: 21px; height: 21px;" alt="" >
            <img  src="../assets/猫头.png" style="width: 21px; height: 21px;" alt="" >
        </div> -->
        <!-- <Hoom></Hoom> -->
        <!-- </div> -->
      </div>
    </div>
  </div>
</template>

<script>

export default {
  name: 'home',
  data() {
    return {
      footerlist: [
        { title: '首页', img: require('../IMG/首页.png'), path: '/pageone' },
        { title: '医院', img: require('../IMG/医院.png'), path: '/pagetwo' },
        { title: '寻宠', img: require('../IMG/寻宠.png'), path: '/pagethree' },
        { title: '商城', img: require('../IMG/商城.png'), path: '/pagefour' },
        { title: '我的', img: require('../IMG/我的1.png'), path: '/pagefive' }
      ],

    }
  },
  components: {

  }
}
</script>

<style  >
html,body{
  /* max-width: 720px; */
  overflow-x: hidden;
  margin: 0 auto;
  /* text-decoration: none */
}
.footer{
  height: 6rem;
}
.footer-seat{
  position: fixed;
  bottom: 0;
  /* left: -0.25rem; */
  width: 100%;
  height: 6rem;
  background-color: #fff;
  /* border-top: red; */
}
.footer-list{
  /* max-width: 720px; */
  height: 5rem;
  /* margin: 0 auto; */
}
  .footer {
    height: 6rem;
  }

  .footer-seat {
    position: fixed;
    bottom: 0;
    /* left: -0.25rem; */
    width: 100%;
    height: 6rem;
    background-color: #fff;
    border-top: red;
  }

  .footer-list {
    /* max-width: 720px; */
    height: 5rem;
    /* margin: 0 auto; */

}
.footer-list ul{
  width: 100%;
  padding-left: 0;
  display: flex;
  text-align: center;
  align-items: center;
  height: 100%;
  
}

.footer-list ul li{
  flex: 1;
  list-style-type:none;
  text-decoration:none;

}
.footer-list ul li a{
  display: block;
  color: black;
  text-decoration: none;
}
.footer-list .box{
  
  position: absolute;
  width: 100%;
  top: 30%;
  left: 0%;
  text-align: center;
  align-items: center;
  /* height: 100%; */
  
}
</style>